﻿using System.Collections.Generic;
using UnityEngine;

namespace Assets.Scripts.Game.Manager
{
    public struct ResLoadInfo
    {
        public int index;
        public string assetName;
        public string fileName;
        public string pathName;

    }
    public class ResLoadMgr
    {
        private static readonly ResLoadMgr mgr = new ResLoadMgr();
        public static ResLoadMgr Instance()
        {
            return mgr;
        }


        private Dictionary<int, GameObject> findPool;

        private Dictionary<int, ResLoadInfo> parseFilePool;
 

        public GameObject LoadGameObjectFromAssetBundleByName(string assetName,string prefabName)
        {
            GameObject ret = null;
            return ret;
        }


        public GameObject LoadGameObjectFromAssetBundleByIndex(int index)
        {
            GameObject ret = null;
            return ret;            
        }



        public void ParseLoadFile()
        {
            
        }

    }
}
